package com.xsir.ditan.miniprogram.mapper;

import com.xsir.ditan.miniprogram.entity.Banner;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xsir
 * @since 2021-02-01
 */
public interface BannerMapper extends BaseMapper<Banner> {
    
    /**
     * 分组查询
     * @param start 起始行
     * @param count 记录数
     * @return
     */
    List<Banner> group(@Param("start") int start, @Param("count") int count);
}
